import request from '@/utils/request'

// 查询黑龙江省公路边坡崩塌落石监控列表
export function listAiMonitoring(query) {
  return request({
    url: '/ai/aiMonitoring/list',
    method: 'get',
    params: query
  })
}

// 查询黑龙江省公路边坡崩塌落石监控详细
export function getAiMonitoring(id) {
  return request({
    url: '/ai/aiMonitoring/' + id,
    method: 'get'
  })
}

// 新增黑龙江省公路边坡崩塌落石监控
export function addAiMonitoring(data) {
  return request({
    url: '/ai/aiMonitoring',
    method: 'post',
    data: data
  })
}

// 修改黑龙江省公路边坡崩塌落石监控
export function updateAiMonitoring(data) {
  return request({
    url: '/ai/aiMonitoring',
    method: 'put',
    data: data
  })
}

// 删除黑龙江省公路边坡崩塌落石监控
export function delAiMonitoring(id) {
  return request({
    url: '/ai/aiMonitoring/' + id,
    method: 'delete'
  })
}
